//
//  HLiveProfileView.h
//  linktuIOS
//
//  Created by hejunsong on 17/1/13.
//  Copyright © 2017年 tianxie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HViewerInfoViewModel.h"

@protocol HLiveProfileViewDelegate <NSObject>

-(void)hliveProfileViewHeaderClcikWithUserID:(NSString *)userID;

@end

@interface HLiveProfileView : UIView
@property(nonatomic,strong) HViewerInfoViewModel *viewModel;
@property(nonatomic,weak) id<HLiveProfileViewDelegate> delegate;

@property(nonatomic,strong) MTAnchorModel *anchorModel;

@property(nonatomic,strong) NSString *hostname;
@property(nonatomic,strong) NSString *hostuserid;
@property(nonatomic,strong) NSString *avter_file;
@property(nonatomic,strong) NSString *viewerNumber;

-(void)relaodViewer;

@end

//HLiveProfileView *LiveProfileview =  [[HLiveProfileView alloc] initWithFrame:CGRectMake(100, 100, 0, 0)];
//LiveProfileview.layerZ = 19;
//[self.view addSubview:LiveProfileview];
//[LiveProfileview mas_makeConstraints:^(MASConstraintMaker *make) {
//    make.left.mas_equalTo(self.view.mas_left).offset(10);
//    make.top.mas_equalTo(self.view.mas_top).offset(100);
//    make.height.mas_equalTo(@38);
//    //        make.width.mas_equalTo(@150);
//    
//}];
